<?php
/**
 * ArticleComment
 */
class ArticleComment extends ActiveRecord {
	
	protected $tableName = 'article_comment';
	public $pkName = 'ID_article_comment';
	
	protected $arrSettings = array(
			'created_at' => true
	);
	public $validatesLengthOf = array(
			'text' => array('minimum' => 1, 'maxim' => 2000, 'message' => 'Нужно что-нибудь написать')
	);
}
?>